home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-07 / blts893.zip / SWITCH.TXT < prev    next >
Text File  |  1993-01-02  |  20KB  |  384 lines

  1.                     LANtastic v4.1 COMMAND LINE SWITCHES
  2.                        Default values in brackets [ ]
  3. ■─────────────────────────────────────────────────────────────────────────■
  4.  
  5. Below are listed the command line switches for the Artisoft LANtastic Network
  6. Operating System.  Special attention has been paid to those switches whose
  7. valued directly affects network performance.  Since network performance is
  8. very dependent on applications being run and the hardware used, specific
  9. values cannot be recommenced.  It is hoped that if the function is better
  10. understood tuning the system for optimum performance will be easier.  This is
  11. intended to be used in conjunction with the Artisoft LANtastic Performance
  12. Bulletin.
  13.  
  14. AEX SWITCHES
  15. ■─────────────────────────────────────────────────────────────────────────■
  16.  
  17. Values for these switches have very little to do with network performance, in
  18. empirical testing we have determined that the default settings are best for
  19. the LANtastic Network Operating System.
  20.  
  21. PACKET_SIZE= Range 574 to 4300 decimal [1500)
  22.  
  23. Empirical testing shows that increasing packet_size will increase the speed
  24. that programs are loaded and files will copy across the network on small
  25. networks.  Testing shows that optimum size is 1500[default ) for use with the
  26. LANtastic Network Operating System with large or heavily loaded networks. 
  27. This parameter may have great effect on third party netbios applications.
  28.  
  29. TRANSMIT_BUFFERS= Range 2 to 80 decimal [20)
  30.  
  31. The memory on the adapter card is divided in half. Half is allocated to
  32. transmit buffers , half to receive buffers.  We allocate several small
  33. buffers and several large buffers.  This parameter does NOT affect resource
  34. exhausts.  Resource exhausts are caused by running out of receive buffers,
  35. not transmit buffers.
  36.  
  37. AILANBIOS SWITCHES
  38. ■─────────────────────────────────────────────────────────────────────────■
  39.  
  40. ACK_TIMEOUT= Range 0 to 254 decimal  [2)
  41. Ack timeout can have a large effect on system performance; too low a value
  42. can result in a large number of retries, decreasing network throughput.  The
  43. default value was determined with empirical testing, normal network traffic
  44. during a benchmark took about 1.5 ticks for the ack to return. (This is very
  45. machine/application specific, this value was determined by using a sniffer on
  46. the network during the tests to actually look at the network traffic.)
  47.  
  48. We recommend that if this value is to be changed that the initial value
  49. chosen be low and then slowly increased as long as performance improves.  The
  50. speed of the machine and the link is a determining factor, this value should
  51. be set higher the slower the link, ie 2 for 10mbps ethernet, 30 for a 9600
  52. baud modem link, 122 for 2400 baud modem link.
  53.  
  54. (Ack_timeout and Retry Period are essential the same value, the code
  55. currently uses the value of the largest of these settings.)
  56.  
  57. BUFFERS= Range 0 to 254 decimal [1]
  58. The performance effects of the buffers= switch are strongly dependent on the
  59. applications using the netbios. For example, there is absolutely no
  60. performance advantage to having more buffers than the number of NETBIOS
  61. sessions actively receiving messages, since only one message can be received
  62. at a time on each session. Also, if the receiving application already has a
  63. pending NETBIOS receive at least as large as the sender's INITIAL_SEND_SIZE
  64. when the message is received, then buffering is not needed. In the case of
  65. REDIR, this is always the case. It is also true of SERVER if the "request
  66. size" is set to at least as large as the workstations' INITIAL_SEND_SIZE's.
  67. As for the memory required for each buffer, there are a few bytes of overhead
  68. required to maintain status information for each buffer, and the total size
  69. is rounded up to a paragraph (16 bytes).
  70.  
  71. FORCE_ACK_MODE
  72. Starting with LANtastic release 4.0, a heuristic algorithm was introduced
  73. into AILANBIOS which reduces network packets for particular types of NETBIOS
  74. session exchanges (in particular, the types of exchanges used by REDIR and
  75. SERVER). A new "ACKless" mode is entered on each session which meets the
  76. heuristic criterion, effectively reducing the number of packet transmissions
  77. from four to two for each server request. This switch disables "ACKless"
  78. mode, forcing each session receive to be acknowledged explicitly. This switch
  79. can be used to alleviate problems when a bridge is used between two networks
  80. of different speeds (i.e., Central Station Dial-UP), to prevent overflow of
  81. the bridge's buffers with unacknowledged sends.
  82.  
  83. INITIAL_SEND_SIZE= Range 1 to 65535 decimal [570]
  84. This should not exceed the Packet Size.  If this value exceeds the Server
  85. Request size an Initial Send Size Buffer is used, this will add more overhead
  86. to the system and decrease performance.  See Server Request Size for
  87. recommend values.
  88.  
  89. MAX_NAMES = Range 1-253 [32)
  90. If you run out of names, an attempt to add another name will result in
  91. NETBIOS error 0Eh, "Name table full", as documented in the NETBIOS
  92. specification. The user's perception of this is usually a failure on an
  93. attempt to load REDIR. REDIR adds five names (plus one if you are using the
  94. single-node AI version of LANtastic); SERVER adds one name if remote booting
  95. is enabled.  Each name requires 16 bytes of memory.
  96.  
  97. MAX_NCBS = Range 1-255 [32)
  98. You should allocate at least as many NCBS as will be concurrently in use by
  99. all NETBIOS applications. Some current limits for Artisoft products are:
  100.  
  101.           REDIR:  4 NCBs
  102.           SERVER: (# logins) + (# tasks) + (# adapters) + 3
  103.           NET CHAT: 8 NCBs
  104.  
  105. Each NCB requires 48 bytes of memory.
  106.  
  107. MAX_SESSIONS = Range 1-254 [32)
  108. Allocate at least one per REDIR login plus one per SERVER login plus one for
  109. NET CHAT. Note that logging into yourself requires two sessions.  Each
  110. session requires 80 bytes of memory.
  111.  
  112. NCBS  = Range 1-255 [32)
  113. This parameter is variable primarily to provide compatibility with IBM's
  114. NETBIOS specification, which allows the NCB limit to be set AFTER the NETBIOS
  115. has been started (using the NBSETUP program, for example). There is no real
  116. advantage to using this parameter at any value BUT one matching the MAX_NCBS
  117. parameter. If the switch is set to a value lower than the MAX_NCBS then
  118. memory is allocated but not used hence wasted.
  119.  
  120. RETRY_PERIOD= Range 0 to 254 decimal [2)
  121. Sets the rate (in ticks per retry) that netbios requests which expect a
  122. response are sent out until that response is received. For example, when you
  123. CALL another node (as when doing a NET LOGIN), the CALL packet is retried
  124. until the requested server answers, or a timeout occurs, indicating the
  125. server is not present. Generally, a smaller RETRY_PERIOD can improve
  126. performance, since lost/garbled packets are retransmitted sooner. However, if
  127. it is set so low that you are retrying even before a legitimate response can
  128. be returned (as with a slower network medium, such as LANtastic Z, Central
  129. Station, etc.) performance is actually degraded, since you generate and
  130. process needless retries.
  131.  
  132. RUN_BURST= Range 0 to 254 decimal [10)
  133. AILANBIOS can schedule on three events:
  134.  
  135. 1>   Receipt of a hardware interrupt from the network adapter,  due to
  136.      message received, transmit complete, etc.  
  137. 2>   Timer ticks  
  138. 3>   Issuance of INT 5Ch (Netbios API) by the user application
  139.   
  140. Once it has taken control, AILANBIOS can run until it has  run out of things
  141. to do, or until its RUN_BURST time has been  exceeded, in which case it will
  142. exit and reschedule at the  next opportunity. ALONE does not modify this
  143. value. You  may wish to use a higher value with ALONE, since foreground 
  144. performance on a dedicated server is not an issue.
  145.  
  146. SESSIONS= Range 1 to 254 decimal [32)
  147. This parameter is variable primarily to provide compatibility with IBM's
  148. NETBIOS specification, which allows the Session to be set AFTER the NETBIOS
  149. has been started (using the NBSETUP program, for example). There is no real
  150. advantage to using this parameter at any value BUT one matching the
  151. MAX_SESSIONS parameter.  If the switch is set to a value lower than the
  152. MAX_SESSIONS then memory is allocated but not used hence wasted.
  153.  
  154. SIZE= Range 1 to 4300 decimal [570)
  155. Keep the same as the largest initial send size, this is the largest Initial
  156. Send Size on all the nodes establishing a session with this computer. (See
  157. ailanbio buffers above, this in not normally used by our network, only by
  158. third party netbios applications.)
  159.  
  160. TIMEOUT= Range 1 to 254 decimal (8)
  161. This value is basically for logins, you may want to increase this value on a
  162. really busy network if a login fails on a server you KNOW is there.  This
  163. value should also be increased if many computers are logging onto a slow
  164. computer at the same time.
  165.  
  166. LANBIOSx SWITCHES
  167. ■─────────────────────────────────────────────────────────────────────────■
  168.  
  169. Values for these switches have very little effect on network performance, the
  170. default settings are best for general LANtastic network performance.
  171.  
  172. BUFFERS= Range 3 to 255 decimal
  173. Application specific, if network traffic consists of many small requests then
  174. increasing the number of buffers will improve performance.
  175.  
  176. MODE= One of the following choices:  8K 32K
  177. Mode 8k(default) increases overhead very slightly, if every micro second is
  178. important then mode 32 will provide optimum performance.  This is a trade off
  179. between size and speed with only very slight performance increase for greater
  180. size.
  181.  
  182. TIMEOUT= Range 1 to 255 decimal
  183. This value is basically for logins, you may want to increase this value on a
  184. really busy network if a login fails on a server you KNOW is there.  This
  185. value should also be increased if many computers are logging onto a slow
  186. computer at the same time.
  187.  
  188. REDIR SWITCHES
  189. ■─────────────────────────────────────────────────────────────────────────■
  190.  
  191. BUFFERS= Range 1 to 64 decimal (1)
  192. Redir Buffers are used for sequential file reads and writes smaller than the
  193. redir buffer size.  If your application program has more than 1 file open for
  194. a sequential read or write at one time then the buffers on the redir command
  195. line should be increased to match the number of files the application can
  196. have open at one time.
  197.  
  198. Large reads and write, random access reads & writes, and files opened in
  199. shared mode are not buffered.
  200.  
  201. This is an important consideration when you are running multitaskers on the
  202. workstation, since you can have more than one application running at one time
  203. the number of files open for small sequential reads will increase as you have
  204. more applications running.
  205.  
  206. If there is not a redir buffer available, one that is in use gets flushed and
  207. reused increasing system overhead and decreasing performance.
  208.  
  209. LOGINS= Range 1 to 255 decimal [2)
  210. This parameter will have no effect on system performance but will affect the
  211. size required for redir.  Each login uses 56  bytes.
  212.  
  213. SIZE= Range 512 to 32768 decimal [1024)
  214. Redir buffers are only used for sequential reads and writes, if the amount of
  215. information requested is larger than the buffer size the buffer is bypassed
  216. and the data is read directly to/from the users applications buffer.
  217. If the amount data requested is smaller than the buffer it is buffered until
  218. the buffer is full and then transmitted.  Thus a series of small reads and
  219. writes are combined into one large read/write reducing the number of network
  220. transmissions.
  221.  
  222. Large reads and write are transmitted directly from application buffer
  223. bypassing the redir buffer and eliminating the overhead of moving data
  224. between redir buffer and application.
  225.  
  226. SERVER SWITCHES
  227. ■─────────────────────────────────────────────────────────────────────────■
  228.  
  229. LOCK_HOLD_TIME= One of the following choices: DISABLED 2 3 4 5 [9) 13 18 27
  230. 36 45 54 63 72 81 90 108 126 144 162 180
  231.  
  232. Specifies the length of time in ticks (1/18 second) that the server will wait
  233. for a record lock before assuming the request has failed. Setting a higher
  234. value in this field can help increase server response time if you have a lot 
  235. of user contention within a database. We have found with empirical testing
  236. that this value increases the amount of time it takes to initially open a
  237. file.  This decrease in speed must be balanced against the savings in holding
  238. a request.  If database files are no used often on the network disable the
  239. Lock_Hold_Time.
  240.  
  241. LOGINS= Range 1 to 300 decimal [5)
  242. One request buffer plus approximately 100 bytes is allocated for each user,
  243. see request buffer for more information on size of buffers. This does setting
  244. does not affect system performance.
  245.  
  246. NETWORK_BUFFER_SIZE= One of the following choices:  2k [4K) 6K 8K 10K 12K 14K
  247. 16K 20K 24K 28K 32K 40K 48K 56K 
  248.  
  249. One network buffer is allocated for each network task.
  250.  
  251. This represents the largest chunk of file I/O that  is read from or written
  252. to the disk and transferred to/from  the workstation. Larger values will
  253. improve the performance of  large file read/write requests, since they won't
  254. have to be  broken down into many small chunks. For example, COPY and  XCOPY
  255. benefit greatly.
  256.  
  257. NETWORK_TASKS= Range 1 to 32 decimal [1)
  258. The number of network tasks determine how many operations can be
  259. simultaneously handled by server. If more requests than network tasks are
  260. received the excess tasks have to be rescheduled for the next active period.
  261.  
  262. PRINTER_BUFFER_SIZE= One of the following choices: [512) 1K 2K 3K 4K 5K 6K 8K
  263. 10K 12K 14K 16K 18K 20K 24K 28K 32K
  264.  
  265. See manual.  This setting does not affect overall system performance. 
  266. Increasing the size of the buffer can improve print despooling.
  267.  
  268. PRINTER_TASKS= Range 0 to 5 decimal [1)
  269. Printer tasks should be set to the no more than the number of printers
  270. attached to the server.  We have reports that printer tasks larger than 1
  271. will slow down printing in some instances (Windows run on server, Quicken on
  272. server, Clipper 5.0 on server, etc).
  273.  
  274. REQUEST_SIZE= Range 14 to 2048 decimal [14)
  275. Represents the maximum REDIR request size which will  be processed with a
  276. single NETBIOS receive request in the  SERVER. At it's default size (14
  277. bytes), only the smallest  requests are handled in one transaction (lock,
  278. unlock, close,  read, etc.). An intermediate size of 60-100 bytes will
  279. improve  the performance of most path operations (open, find first,  rename,
  280. delete). A larger value of 570+ bytes will handle  all REDIR requests except
  281. large writes, and will have the  added benefit of eliminating the need for
  282. initial send buffering  in AILANBIOS.
  283.  
  284. RESOURCE_CACHE= Range 1 to 50 decimal [1)
  285. A disk or printer resource are those resources created in NET_MGR shared
  286. resources.  Each time a path operation is performed the resource must be
  287. checked to see if the user has proper permissions.  Caching the
  288. resources(storing this information in memory) will eliminate the server going
  289. to disk to look up this information. This will improve performance on path
  290. operations (open,  find first, rename, delete, etc...) when multiple disk or
  291. printer resources are in use at the same time on the server. There is no
  292. advantage  to setting this value higher that the number of concurrently used
  293. resources. The overhead is about 850 bytes per entry.
  294.  
  295. RUN_BUFFER_SIZE= Range 0 to 1024 decimal [127)
  296. Buffer used by the net run command, set to 0 to disable net runs.
  297.  
  298. RUN_BURST= Range 1 to 255 decimal [14)
  299. Server schedules on 5 events they are:
  300.  
  301. 1>   Timer ticks
  302. 2>   Netbios request completion
  303. 3>   Foreground task idle (ex application waiting for keystroke calls int28)
  304. 4>   Foreground task keyboard wait
  305. 5>   Foreground task dos calls.
  306.  
  307. Once server has taken control it will run until it has run out of things to
  308. do, or until its Runburst time has been exceeded, in which case it will exit
  309. and reschedule.
  310.  
  311. SEEK_CACHE= One of the following choices: [NONE) 1K 2K 4K 8K 12K 16K 20K 24K
  312. 28K 32K 40K 48K 56K 64K
  313.  
  314. The seek cache caches information on where the file is located on disk and
  315. where in the file a user is located.  It does NOT cache data from the file.
  316.  
  317. A seek cache will only significantly affect performance  of random-access
  318. file operations if:
  319.  
  320. 1>   The files being randomly accessed are relatively large, typically 100K
  321.      or more.
  322. 2>   The files are kept open and are accessed frequently enough to collect
  323.      useful cache data.
  324.  
  325. For these conditions, even a small cache will be helpful, and  the larger the
  326. cache, the more improvement will be realized.  No publicly available
  327. benchmarks have been performed, but we  have seen throughput improvements as
  328. high as 25%.
  329.  
  330. You can compute the optimum size for this cache with the following formula:
  331.  
  332.      Add the size of any large frequently used database files (in bytes) and
  333.      divide this by your hard drives cluster size (normally 4096) This gives
  334.      the number of clusters used.  Each cluster used requires 32 bytes , each
  335.      open file requires 32 bytes.  Maximum performance is achieved when the
  336.      cache size is >=32*(number of clusters used + number of files.)
  337.  
  338. LANCACHE SWITCHES
  339. ■─────────────────────────────────────────────────────────────────────────■
  340.  
  341. AFTER_IO_DELAY= Range 0 to 3600 decimal [3)
  342. The AFTER_IO_DELAY  is the period after the LAST disk read or write the
  343. system will pause before flushing the cache to the hard disk.  This timer is
  344. reset after every read and/or write request.  This allows disk writes to be
  345. made during the systems idle time.  Since this timer is reset every access,
  346. it will NEVER expire on a busy system.
  347.  
  348. CACHE_SIZE= Range 16 to 16000 decimal
  349.  
  350. FAST_IRQ= [None] none 0-15
  351. Typically disk caches deactivates (masks) all irq's while writing to the hard
  352. drive.  This can have a deleterious effect on high speed communications
  353. programs.  This switch is intended to resolve these  problems.  If the
  354. communication programs ISR( Interrupt Service Routines) executes quickly, and
  355. does not invoke any BIOS or DOS functions, and does not re-enable interrupts
  356. before issuing an End-Of-Interrupt (EOI) command to the Programmable
  357. Interrupt Controller (PIC) this switch will allow the ISR to be processed.
  358. The switch may be repeated for each desired IRQ. This switch was specifically
  359. designed to eliminate problems associated with high speed Zmodem up and
  360. downloads via a serial port.
  361.  
  362. LONG_WRITE_DELAY= Range 0 to 3600 decimal [12)
  363. This is the maximum amount of time that the cache will cache writes before
  364. forcing a flush of the cache.  This delay is necessary on a busy system that
  365. may not have the needed idle time to allow the buffer to flush using the
  366. AFTER_IO_DELAY.  The longer this setting the more time is allowed to wait for
  367. an idle period.  The data in the cache is in a very critical state during
  368. write caching.  If the computer looses power or locks before a flush data
  369. will be lost and file corruption is possible.
  370.  
  371. TYPE= One of the following choices:  CONVENTIONAL EMS (EXTENDED) XMS
  372. On computers without hardware EMS boards, Extended memory is usually the
  373. fastest cache, next comes XMS memory and finally EMS memory.  ON 286's with
  374. hardware EMS boards EMS memory is usually the fastest.
  375.  
  376. Lancache is a track buffering cache rather than a sector buffering cache,
  377. lancache stores it's track map in conventional memory.  
  378.  
  379. A formula for LANcache's TSR size is: 5120 + [1024 * num_disk_sectors/track]
  380. + fudge_factor.  Lancache's lookup tables are stored in conventional memory
  381. to make the lookups faster and enhance the overall performance of the cache. 
  382.  
  383. LANcache will not perform after writes if VERIFY is ON.  VERIFY must be OFF
  384. before LANcache can perform after_io_delays.